#coding=utf-8
from selenium import webdriver
from UI自动化基础框架 import setting
class BrowserEngine():
    def init_driver(self):
        option = webdriver.ChromeOptions()
        option.add_argument("disable-infobars")
        driver = webdriver.Chrome(chrome_options=option,
                                  executable_path=setting.EXECUTABLE_PATH)
        return driver
